<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD><TITLE>tdbc manual page - Tcl Database Connectivity</TITLE>
<link rel="stylesheet" href="../docs.css" type="text/css" media="all">
</HEAD>
<BODY><H2><a href="../contents.htm">Tcl8.6.11/Tk8.6.11 Documentation</a> <small>&gt;</small> <a href="contents.htm">TDBC Package Commands, version 1.1.2</a> <small>&gt;</small> tdbc</H2>
<H3><A HREF="../UserCmd/contents.htm">Tcl/Tk Applications</A> | <A HREF="../TclCmd/contents.htm">Tcl Commands</A> | <A HREF="../TkCmd/contents.htm">Tk Commands</A> | <A HREF="../ItclCmd/contents.htm">[incr Tcl] Package Commands</A> | <A HREF="../SqliteCmd/contents.htm">SQLite3 Package Commands</A> | <A HREF="../TdbcCmd/contents.htm">TDBC Package Commands</A> | <A HREF="../TdbcmysqlCmd/contents.htm">tdbc::mysql Package Commands</A> | <A HREF="../TdbcodbcCmd/contents.htm">tdbc::odbc Package Commands</A> | <A HREF="../TdbcpostgresCmd/contents.htm">tdbc::postgres Package Commands</A> | <A HREF="../TdbcsqliteCmd/contents.htm">tdbc::sqlite3 Package Commands</A> | <A HREF="../ThreadCmd/contents.htm">Thread Package Commands</A> | <A HREF="../TclLib/contents.htm">Tcl C API</A> | <A HREF="../TkLib/contents.htm">Tk C API</A> | <A HREF="../ItclLib/contents.htm">[incr Tcl] Package C API</A> | <A HREF="../TdbcLib/contents.htm">TDBC Package C API</A></H3>
<H3><A NAME="M2">NAME</A></H3>
tdbc &mdash; Tcl Database Connectivity
<H3><A NAME="M3">SYNOPSIS</A></H3>
package require <B>tdbc 1.0</B><BR>
package require <B>tdbc::</B><I>driver version</I><BR>
<BR>
<B>tdbc::</B><I>driver</I><B>::connection create </B><I>db</I> ?<I>-option value</I>...?<BR>
<H3><A NAME="M4">DESCRIPTION</A></H3>
Tcl Database Connectivity (TDBC) is a common interface for Tcl
programs to access SQL databases. It is implemented by a series of
database <I>drivers</I>: separate modules, each of which adapts Tcl to
the interface of one particular database system.  All of the drivers
implement a common series of commands for manipulating the database.
These commands are all named dynamically, since they all represent
objects in the database system. They include <B>connections,</B>
which represent connections to a database; <B>statements,</B> which
represent SQL statements, and <B>result sets,</B> which represent
the sets of rows that result from executing statements. All of these
have manual pages of their own, listed under <B><A HREF="#M5">SEE ALSO</A></B>.
<P>
In addition, TDBC itself has a few service procedures that are chiefly
of interest to driver writers. <B><A HREF="#M5">SEE ALSO</A></B> also enumerates them.
<H3><A NAME="M5">SEE ALSO</A></H3>
<B><A HREF="../TdbcLib/Tdbc_Init.htm">Tdbc_Init</A></B>, <B><A HREF="../TdbcCmd/tdbc_connection.htm">tdbc::connection</A></B>, <B>tdbc::mapSqlState</B>, <B><A HREF="../TdbcCmd/tdbc_resultset.htm">tdbc::resultset</A></B>, <B><A HREF="../TdbcCmd/tdbc_statement.htm">tdbc::statement</A></B>, <B><A HREF="../TdbcCmd/tdbc_tokenize.htm">tdbc::tokenize</A></B>, <B><A HREF="../TdbcmysqlCmd/tdbc_mysql.htm">tdbc::mysql</A></B>, <B><A HREF="../TdbcodbcCmd/tdbc_odbc.htm">tdbc::odbc</A></B>, <B><A HREF="../TdbcpostgresCmd/tdbc_postgres.htm">tdbc::postgres</A></B>, <B><A HREF="../TdbcsqliteCmd/tdbc_sqlite3.htm">tdbc::sqlite3</A></B>
<H3><A NAME="M6">KEYWORDS</A></H3>
<A href="../Keywords/T.htm#TDBC">TDBC</A>, <A href="../Keywords/S.htm#SQL">SQL</A>, <A href="../Keywords/D.htm#database">database</A>, <A href="../Keywords/C.htm#connectivity">connectivity</A>, <A href="../Keywords/C.htm#connection">connection</A>, <A href="../Keywords/R.htm#resultset">resultset</A>, <A href="../Keywords/S.htm#statement">statement</A>
<H3><A NAME="M7">COPYRIGHT</A></H3>
Copyright (c) 2008 by Kevin B. Kenny.
<div class="copy">Copyright &copy; 2008 by Kevin B. Kenny.
</div>
</BODY></HTML>
